﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Index2.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
冷藏棺信息管理
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript">
        var id = 'CoffinNO';
        var ctrlName = 'RefriCoffinInfo';
        var crud = new Crud(id, ctrlName);
        $(function () {
            $('#dg').datagrid({
                title: '冷藏棺列表',
                iconCls: 'icon-save',
                url: '../' + ctrlName + '/List',
                sortName: id,
                sortOrder: 'asc',
                remoteSort: false,
                idField: id,
                frozenColumns: [[
	                { field: 'ck', checkbox: true },
	                { title: '编号', field: id, width: 50, sortable: true }
				]],
                columns: [[
                        { field: 'CoffinModel', title: '名称', width: 50 },
                        { field: 'Remark', title: '备注', width: 100 }
                    ]],
                pagination: true,
                fitColumns: true,
                toolbar: toolbar
            });
        });      
    </script>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <div id="dlg" class="easyui-dialog" closed="true" buttons="#dlg-buttons" 
			style="width:400px;height:280px;padding:10px 20px">
		<div class="ftitle">冷藏棺信息</div>
		<form id="fm" method="post">            
			<div class="fitem">
				<label>编号:</label>
				<input name="CoffinNO" class="easyui-validatebox" required="true">
			</div>
			<div class="fitem">
				<label>名称:</label>
				<input name="CoffinModel" class="easyui-validatebox" required="true"/>
			</div>
			<div class="fitem">
				<label>备注:</label>
				<input name="Remark"/>
			</div>
		</form>
	</div>
</asp:Content>


